home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 996 < prev    next >
Encoding:
Text File  |  1996-08-05  |  1.4 KB  |  44 lines

  1. Path: nada.kth.se!d93-hyo
  2. From: d93-hyo@nada.kth.se (Hσkan Younes)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: GNU MAKE and RCS files?
  5. Date: 13 Jan 96 18:11:18 GMT
  6. Message-ID: <d93-hyo.821556678@nada.kth.se>
  7. NNTP-Posting-Host: mumrik.nada.kth.se
  8. Mime-Version: 1.0
  9. Content-Type: text/plain; charset=iso-8859-1
  10. Content-Transfer-Encoding: 8bit
  11. Keywords: GNU,GCC,MAKE,RCS
  12.  
  13.  
  14. The gnu make utility is supposed to extract RCS files when needed
  15. for dependencies. I'd find that very usefull if it weren't for some
  16. pecularities (bugs?).
  17.  
  18.  
  19. Given this rule:
  20.  
  21. foo.o: foo.h
  22.  
  23. and the RCS files foo.cc,v and foo.h,v one would suppose make to
  24. extract foo.h and foo.cc (if they have been edited since foo.o was
  25. last made), compile and then remove both foo.h and foo.cc.
  26.  
  27.  
  28. And make works this way with files not explicitly given as a
  29. dependency (in this example it works for foo.cc), but for explicitly
  30. given dependencies (foo.h) it does NOT work. In that case it
  31. always extracts foo.h even if foo.o is newer and it doesn't remove
  32. it when done.
  33.  
  34.  
  35. Is this really what it's supposed to do, or is it a bug?
  36.  
  37.  
  38. -Lorens Younes
  39. --
  40. ftp:    ftp.nada.kth.se/home/d93-hyo                _/_/_/_/_/_/_/_/_/_/_/_/
  41. www:    http://www.nada.kth.se/~d93-hyo/           _/Singillatim mortales_/
  42. e-mail: d93-hyo@nada.kth.se                       _/ cunctim perpetui   _/
  43. s-mail: Sandkullsvagen 16, 163 57 Spanga, Sweden _/_/_/_/_/_/_/_/_/_/_/_/
  44.